import java.util.Scanner;

/**
 * @ClassName Test07
 * @Description 打印差型
 * @Author 李明忠
 * @Date 2025/5/13 16:58
 * @Version 1.0
 */
public class Test07 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < n; j++) {
                if((i == j) || (j == n - 1 - i)) {
                    System.out.print("*");
                }else {
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }
}
